package com.basics.api.response.organization;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


@Data
public class OrganizationListData extends DefaultOrganizationInfoData {

    @ApiModelProperty("未读消息数量")
    private Integer unReadMsgNum;

    @JsonFormat(
            pattern = "yyyy年MM月dd日"
    )
    @ApiModelProperty("加入时间")
    private Date createTime;

    @ApiModelProperty("是否默认加入的组织")
    private Boolean defaultFlag;
}
